package com.fg.cloud.common;

/**
 * 数组集合转换类
 * @author around
 * @date 2017-6-19
 */
public class ArrayUtils {

	/**
	 * 转换数组，String[] ==> Long[]
	 * @param arrayStr String[]
	 * @return Long[]
	 */
	public static Long[] convert(String[] arrayStr) {
		Long[] arrayLong = new Long[arrayStr.length];
		for (int i = 0; i < arrayStr.length; i++) {
			arrayLong[i] = Long.valueOf(arrayStr[i]);
		}
		return arrayLong;
	}
	
	
	
}
